//
//  ImageViewCell.m
//  liangyi
//
//  Created by 张水 on 17/1/12.
//  Copyright © 2017年 yswh. All rights reserved.
//
//
#import "ImageViewCell.h"

@implementation ImageViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self){
        [self setupUI];
    }
    return self;
}
-(void)setModel:(recoveriesModel *)model{
    _model = model;
//    self.schemeImage 
}
-(void)setupUI{
    self.backgroundColor = [UIColor whiteColor];
    
    self.schemeImage = [[UIImageView alloc]init];
    [self.contentView addSubview:self.schemeImage];
    [self.schemeImage mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.right.bottom.equalTo(self.contentView);
    }];
    self.schemeImage.contentMode = UIViewContentModeScaleToFill;
//    self.schemeImage.image = [UIImage imageNamed:@"banner"];
    
}




@end
